home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d13 / q_aparad.arc / PPROG.QA < prev    next >
Text File  |  1991-03-13  |  10KB  |  331 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.               PARADOX COMMON QUESTIONS AND ANSWERS
  8.  
  9. PPROG
  10.  
  11.    1.  The  Paradox  3.0  Personal  Programmer  has  generated  a
  12.        problem that returns "QEDIT not found."
  13.  
  14.        This can happen  if  the user modifies the application and
  15.        does  not  change  anything,  then the Personal Programmer
  16.        does not rewrite the qedit and utl scripts.
  17.  
  18.        The workaround is  to  go into the Personal Programmer and
  19.        modify the application  by  selecting the menu action.  Go
  20.        through the prompts and select <R>evise, but do not change
  21.        anything.  Then, exit out to Paradox and  play  the script
  22.        "APNAMELIB.SC".
  23.  
  24.  
  25.    2.  I  am  running  Paradox on a network and when I try to run
  26.        the  Personal  Programmer,  I  get  the  message  "Out  of
  27.        memory."
  28.  
  29.        The Personal Programmer was not designed to be a multiuser
  30.        program.  It requires a total of 580K free to run  it, and
  31.        with that much RAM you will  not  be able to build much of
  32.        an application before you run out of RAM.  The bottom line
  33.        is  that  you  need as much free memory as you can come up
  34.        with.
  35.  
  36.        When the network drivers  are  loaded,  you will have much
  37.        less than the 580K necessary.    Consequently,  you cannot
  38.        run PProg on a network.
  39.  
  40.        Instead,  install  and  run  the  PProg  on  a stand-alone
  41.        machine, then after  the application is complete, transfer
  42.        it to the network server.   The following steps will allow
  43.        you to install PProg on a local hard disk of a node on the
  44.        network:
  45.  
  46.        a)  While linked to the network server, create a PARADOX2
  47.            directory on the local hard disk.
  48.        b)  Copy all the files from the PARADOX2 directory on the
  49.            network server to the local PARADOX2 directory.
  50.        c)  Install the PProg using the A:PINSTALL program.
  51.        d)  Set the node to run in stand-alone mode.  (Eliminate
  52.            all network drivers and TSR's)
  53.        e)  Log on to the new PARADOX2\PPROG directory and type
  54.            "PPROG" to make sure it has been installed correctly.
  55.        f)  Once you have verified that PProg is OK, you can
  56.            delete all the files from the PARADOX2 directory.
  57.            They only need to be present when installing PProg.
  58.        g)  Build your application using the local hard disk.
  59.        h)  Transfer the completed application to the network
  60.            server.
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.        i)  In interactive Paradox, run the -----LIB.SC script to
  74.            rebuild the libraries in the new directory.  Refer to
  75.            page 128 of the PProg manual for script name
  76.            explanations.
  77.  
  78.  
  79.    3.  I  just  modified  my  Personal Programmer application and
  80.        added a menu action that will play a PAL script  I created
  81.        in Paradox.  When I go to play my application,  it appears
  82.        as if the application has not been updated.
  83.  
  84.        Whenever  you  make  a   modification   to   the  Personal
  85.        Programmer application, you should go out  to  Paradox and
  86.        play a script with  the  name  "APPNALIB" where "APPNA" is
  87.        the name of your application and "LIB" stands for library.
  88.        This script will rebuild your application library.
  89.  
  90.  
  91.    4.  When I was running my  application that I created with the
  92.        Personal Programmer, I received the error message "Unknown
  93.        object type."  What does that mean?
  94.  
  95.        Unknown object type means  that  your  application library
  96.        file is damaged.   To  rebuild the library file, go out to
  97.        Paradox and  play  the  script  called  "APPNALIB"  (where
  98.        "APPNA" is the  name  of your application and "LIB" stands
  99.        for library).
  100.  
  101.  
  102.    5.  I recently purchased Paradox 3.0 and was trying to use the
  103.        Personal Programmer.  After typing "PPROG" I  received the
  104.        error message "Out of memory."  I have 2  MB  of  extended
  105.        memory on my PC.  How can I possibly be out of memory.
  106.  
  107.        Paradox 3.0  does not recognize extended memory.  It does,
  108.        however,  recognize  expanded  memory.   There are several
  109.        programs on the market that  will  enable  you  to convert
  110.        your extended memory to expanded  memory.  In order to run
  111.        the Personal  Programmer, you will need a minimum of 580K.
  112.        To  verify  how  much memory you actually  have  prior  to
  113.        running  the  Personal Programmer, perform  a  chkdsk  DOS
  114.        command.  This will return  the  available  bytes  free in
  115.        RAM.  It is recommended that you have a minimum of 595K on
  116.        your PC if you want to run the Personal Programmer.
  117.  
  118.  
  119.    6.  I am playing  an  application created with the Paradox 3.0
  120.        Personal  Programmer  and  when  I  try to edit  with  all
  121.        records I get "Answer table not found."
  122.  
  123.        There is a  problem  in the Personal Programmer of Paradox
  124.        Version  3.0.    A  simple  EDIT  with  ALL  Records  will
  125.        sometimes result in an  error  "Answer  table  not found,"
  126.        when there should not be any answer table.
  127.  
  128.  
  129.  
  130.                               - 2 -
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.        Solution:
  140.  
  141.        A piece of code generated by PProg is not  correct.    The
  142.        only way to repair it is to edit the script and remark out
  143.        (;) several lines of code.
  144.  
  145.        To find  the appropriate lines of code, start Paradox3 and
  146.        change to  the  directory  containing  your  own  Personal
  147.        Programmer application.
  148.  
  149.        --Play  your  application  (if  its  name  is  Video, play
  150.        Video).
  151.  
  152.        --At your application's  Menu, Press <Ctrl><Break> (it may
  153.        beep).
  154.  
  155.        --NOW, select  the menu choice that has been troubling you
  156.        with the message "Answer table not found."
  157.  
  158.        --You should see <C>ancel <D>ebug as choices.
  159.  
  160.        --Choose <D>ebug.  A line  of code will appear at screen's
  161.        bottom.
  162.  
  163.        --Press <Ctrl><S> several times  in  succession  until the
  164.        line of code at screen's  bottom  reads:  Create "Deleted"
  165.        like "Answer".
  166.  
  167.        --Press <Ctrl><E> to enter  the  script  at  the displayed
  168.        line.  Place  a  semicolon  in  front of this line and the
  169.        next seven lines of code as follows:
  170.  
  171.        ;  Create "Deleted" like "Answer"
  172.        ;  If (ApplicErrorRetval) THEN
  173.        ;      RETURN FALSE
  174.        ;  ENDIF
  175.        ;  View "Deleted"
  176.        ;  If (ApplicErrorRetval) THEN
  177.        ;      RETURN FALSE
  178.        ;  ENDIF
  179.  
  180.        --Press <F2> to save the changed script.
  181.  
  182.        --Do <S>cripts, <P>lay, <V>ideolib (if your application is
  183.        Video).   (There will be a script  with  your  app's  name
  184.        +LIB.)  This will rebuild the application's libraries.
  185.  
  186.        That  should solve the problem.   These  steps  should  be
  187.        followed  for each of your Menu  choices  which  have  the
  188.        "Answer table not found" irregularity.
  189.  
  190.  
  191.    7.  I am using  the  video tutorial in the Personal Programmer
  192.        and I am  trying  to create the multi-table application on
  193.  
  194.  
  195.  
  196.                               - 3 -
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.        page  45 of the Personal Programmer  Guide.    The  manual
  206.        indicates that there is an order form #2 and I cannot find
  207.        this form on my diskettes.  Am I doing something wrong?
  208.  
  209.        Order form #2 was not included on your diskettes.  We will
  210.        be  happy  to  send you a new copy of the orders table and
  211.        the forms associated with it.
  212.  
  213.  
  214.    8.  I am using the Personal Programmer and I  cannot  edit the
  215.        key fields of my table.
  216.  
  217.        When editing with queries or multi-table views, the tables
  218.        must be keyed and  the  key  fields  should not be edited.
  219.        The reason for  this  restriction  is  that  when selected
  220.        records are  edited, Paradox uses the key fields to return
  221.        the records to their original location.
  222.  
  223.  
  224.    9.  I am trying to  use  the Personal Programmer.  I created a
  225.        directory for my application and when I typed "PPROG" from
  226.        that directory, I got  the  error  message "Bad command or
  227.        file name."
  228.  
  229.        You should modify your AUTOEXEC.BAT file  located  in your
  230.        root directory (ie.  C:\) and add a path command that will
  231.        instruct   the   operating   system   to   look   in   the
  232.        C:\PARADOX3\PPROG directory.  For example:
  233.  
  234.        PATH=C:\;C:\PARADOX3;C:\PARADOX3\PPROG
  235.  
  236.  
  237.   10.  I am using the Personal Programmer and I have set  up some
  238.        validity checks.  When  I  play  the application and press
  239.        <F1>, I cannot access my table lookup.
  240.  
  241.        There is a  problem  with the Personal Programmer with the
  242.        way it writes scripts.  In the section of the script where
  243.        the application is in a  WAIT TABLE, you should remove the
  244.        UNTIL "F1" from the script.
  245.  
  246.  
  247.   11.  I am using the Personal Programmer and have created a view
  248.        where I am using the tilde  variable.   I want the user to
  249.        be able to use  a  pattern match like "S..".  The Personal
  250.        Programmer does not accept this.
  251.  
  252.        If a variable is equal to a pattern match  (ie.    x=S..),
  253.        the tilde variable will not work.  Instead,  create  a PAL
  254.        script which will bring up a query form and MOVETO  to the
  255.        field name and TYPEIN the variable.
  256.  
  257.        MOVETO [Fieldname]
  258.        TYPEIN x
  259.  
  260.  
  261.  
  262.                               - 4 -
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.        Then,  you can add this script as a  menu  action  in  the
  272.        Personal Programmer.
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.                               - 5 -
  329.  
  330.  
  331.